export interface IPage<T>{
    data:T[],
    total:number,
    size:number,
    current:number
    // count:number,
}
export interface IPageReq{
    size:number,
    current:number
}

export class Page<T> implements IPage<T> {

    constructor() {
        this.data = []
        this.total = 0
        this.size = 10
        this.current = 0
    }
    data: T[]
    total: number
    size: number
    current: number
}